package com.nbufe.combination.demo1;

public class Client {
    public static void main(String[] args) {
        Folder folder = new Folder("项目资料");

        PdfFile pdfFile1 = new PdfFile("参考资料1");
        PdfFile pdfFile2 = new PdfFile("参考资料2");
        PdfFile pdfFile3 = new PdfFile("参考资料3");

        JavFile javFile1 = new JavFile("代码1");
        JavFile javFile2 = new JavFile("代码2");
        JavFile javFile3 = new JavFile("代码3");

        GifFile gifFile1 = new GifFile("资源1");
        GifFile gifFile2 = new GifFile("资源2");

        folder.add(pdfFile1);
        folder.add(pdfFile2);
        folder.add(pdfFile3);

        folder.add(javFile1);
        folder.add(javFile2);
        folder.add(javFile3);

        folder.add(gifFile1);
        folder.add(gifFile2);

        folder.killVirus();
    }
}
